#define _CRT_SECURE_NO_WARNINGS 1

#include <stdio.h>

int main()
{
	int m = 0;
	//while (~scanf("%d", &m))
	while(scanf("%d", &m) != EOF)
	{
		printf("%d\n\n", m + 1);
	}
	return 0;
}